package cn.mcch.investigator.presenter.impl;

import android.os.Handler;
import cn.mcch.investigator.model.impl.WelcomeModelImpl;
import cn.mcch.investigator.presenter.BasePresenter;
import cn.mcch.investigator.presenter.IWelcomePresenter;
import cn.mcch.investigator.viewdelegate.impl.WelcomeViewDelegateImpl;

/**
 * Created by Administrator on 2016/12/17.
 */
public class WelcomePresenterImpl extends BasePresenter<WelcomeViewDelegateImpl, WelcomeModelImpl> implements IWelcomePresenter {
    @Override
    public Class<WelcomeViewDelegateImpl> getViewDelegateClass() {
        return WelcomeViewDelegateImpl.class;
    }

    @Override
    public Class<WelcomeModelImpl> getModelClass() {
        return WelcomeModelImpl.class;
    }

    @Override
    public void gotoLogin(Runnable runnable) {
        new Handler().postDelayed(runnable,3000);
    }
}
